package cn.iocoder.yudao.module.strategyPlanUser.controller.admin.strategyPlanUser.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import javax.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
 * 企业战略-计划-人力落地表（短期、长期） Base VO，提供给添加、修改、详细的子 VO 使用
 * 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
 */
@Data
public class StrategyPlanUserBaseVO {

    @Schema(description = "编号", example = "24229")
    private Long id;

    @Schema(description = "组织id", requiredMode = Schema.RequiredMode.REQUIRED, example = "9857")
    @NotNull(message = "组织id不能为空")
    private Long organizationId;

    @Schema(description = "战略id", requiredMode = Schema.RequiredMode.REQUIRED, example = "30491")
    @NotNull(message = "战略id不能为空")
    private Long strategyId;

    @Schema(description = "战略计划id", example = "14645")
    private String strategyPlanId;

    @Schema(description = "人才id", example = "14645")
    private String userId;

    @Schema(description = "工作目标")
    private String workTarget;

    @Schema(description = "工作内容")
    private String workContent;

    @Schema(description = "承担的角色")
    private String responseRole;

    @Schema(description = "原定开始时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime startTime;

    @Schema(description = "原定结束时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime endTime;

    @Schema(description = "实际开始时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime realStartTime;

    @Schema(description = "实际结束时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime realEndTime;

    @Schema(description = "进展状态", example = "提前完成")
    private String status;

    @Schema(description = "备注", example = "备注")
    private String remark;

    @Schema(description = "领导id", example = "32322")
    private Long leaderId;

    @Schema(description = "自评得分", example = "97.00")
    private Double selfScore;

    @Schema(description = "领导评价", example = "提前完成，质量优良")
    private String leaderComment;

    @Schema(description = "创建者")
    private String creator;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime createTime;

    @Schema(description = "更新者")
    private String updater;

    @Schema(description = "更新时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime updateTime;

    @Schema(description = "是否删除（1删除，0未删除）")
    private Boolean deleted = false;

    @Schema(description = "租户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "30418")
    @NotNull(message = "租户编号不能为空")
    private Long tenantId;

    @Schema(description = "自评结果")
    private String selfComment;

    @Schema(description = "领导评分", example = "100.00")
    private Double leaderScore;



    @Schema(description = "战略名称", example = "蓝海计划")
    private String strategyName;

    @Schema(description = "战略计划名称", example = "蓝海计划")
    private String strategyPlanName;

    @Schema(description = "人才姓名", example = "张章")
    private String userName;

    @Schema(description = "领导名称", example = "高总")
    private String leaderName;

    @Schema(description = "组织单位名称", example = "中建智采公司")
    private String organizationName;

    @Schema(description = "创建者姓名")
    private String creatorName;

    @Schema(description = "更新者姓名")
    private String updaterName;

}
